FROM alpine

RUN apk update
RUN apk upgrade

RUN apk add vim
RUN apk add wget

RUN wget http://ftp.icm.edu.pl/packages/4.4BSD-Lite/4.4BSD-Lite.tar.gz -O /root/4.4BSD-Lite.tar.gz
RUN tar -zxf /root/4.4BSD-Lite.tar.gz -C /root/
RUN cp -r /root/4.4BSD-Lite/usr/src /usr/src
COPY chapter.txt /root/
